import { BaseEntity } from '@cool-midway/core';
import { Column, Entity } from 'typeorm';
/**
 * doupiaopiao模块-邀请关系表
 */
@Entity('doupiaopiao_invitation')
export class DoupiaopiaoInvitationEntity extends BaseEntity {
  @Column({ comment: '被分享人的Id' })
  userId: string;

  @Column({ comment: '分享者Id' })
  shareUserId: number;

  @Column({ comment: '相当分享人的粉丝等级' })
  shareUserLevel: number;
}
